<%@ page language="java" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'elExample3.jsp' starting page</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <%
  	pageContext.setAttribute("username", "jqblizzie1");
  	request.setAttribute("username", "jqblizzie3");
  	session.setAttribute("username", "jqblizzie2");
  	application.setAttribute("username", "jqblizzie4"); 
  %>
  	\${pageScope.username}=${pageScope.username } <br>
    --------------------<br>
    \${requestScope.username}=${requestScope.username} <br>
    --------------------<br>
    \${sessionScope.username}=${sessionScope.username } <br>
    --------------------<br>
    \${applicationScope.username }=${applicationScope.username} <br>
     --------------------<br>
    \${username }=${username} <br><%//是按照 pageContext->request->session->application的范围来查找的%>
  </body>
</html>
